<%@page language="java" contentType="application/json; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import = "java.util.*" import="cart.hibernate.paymentMethod.*" import="cart.hibernate.order.*" import="cart.*,java.net.*,java.text.*" %>
<%@page import="cart.hibernate.order.*" %>

<jsp:useBean id = "orderManager" scope= "request" class = "cart.hibernate.order.ManageOrder" />
<%
    Date date = new Date();
    
    orderManager.addOrder(date, date, "12345678123415678", 3, 3, "fladdt", "bing", "dasfd", "d", request.getParameter("userid"), Long.parseLong(request.getParameter("movieid")), 1);
%>
{
"success": 1
}